Platform Explorer / Nuxeo Platform 2023.22

Component org.nuxeo.retention.types

Requirements

Resolution Order

726
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.retention.types">

  <require>org.nuxeo.ecm.core.CoreExtensions</require>

  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
    <schema name="retention_rule" src="schemas/retention_rule.xsd"
      prefix="retention_rule" />
    <schema name="retention_definition" src="schemas/retention_definition.xsd"
      prefix="retention_def" />
    <schema name="record" src="schemas/record.xsd" prefix="record" />
    <schema name="retention_search" src="schemas/retention_search.xsd"
      prefix="retention_search" />
  </extension>

  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
    <doctype name="RetentionSearch" extends="SavedSearch">
      <facet name="ContentViewDisplay" />
      <schema name="retention_search" />
    </doctype>

    <facet name="RetentionRule" perDocumentQuery="false">
      <schema name="retention_rule" />
      <schema name="retention_definition" />
    </facet>

    <facet name="Record">
      <schema name="record" />
    </facet>

    <doctype name="RetentionRule" extends="Document">
      <schema name="uid"/>
      <facet name="Versionable"/>
      <facet name="NotCollectionMember" />
      <facet name="NXTag" />
      <facet name="RetentionRule" />
      <schema name="dublincore" />
      <schema name="common" />
    </doctype>

    <doctype name="RetentionRules" extends="OrderedFolder">
      <facet name="SuperSpace"/>
      <facet name="HiddenInCreation" />
      <facet name="HiddenInNavigation" />
      <facet name="NotCollectionMember" />
      <subtypes>
        <type>RetentionRule</type>
      </subtypes>
    </doctype>

  </extension>

  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
    <type id="RetentionRules">
      <label>Retention Rules</label>
      <icon>/icons/ordered_folder.png</icon>
      <bigIcon>/icons/ordered_folder_100.png</bigIcon>
    </type>
    <type id="RetentionRule">
      <label>Retention Rules</label>
      <icon>/icons/retention_rule.png</icon>
      <bigIcon>/icons/retention_rule.png</bigIcon>
    </type>
  </extension>

</component>